package com.hp.gxw.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.util.List;

@Configuration
@PropertySource(value = "classpath:application.yml",factory = YamlConfigFactory.class)
@ConfigurationProperties(prefix = "mesapi")
@Data
public class MesApiConfig {
    private List<MesUrlConfig> urllist;
}